<div  id="nav">
    <ul>
        <li <?php if ($page=="") {  ?> id="current"  <?php } ?>     ><a href="index.php">Home</a></li>
        <li <?php if ($page=="latest_news") {  ?> id="current"  <?php } ?>><a href="index.php?page=latest_news">Latest News</a></li>
        <li <?php if ($page=="archives") {  ?> id="current"  <?php } ?>><a href="index.php?page=archives">Archives</a></li>
        <li <?php if ($page=="categories") {  ?> id="current"  <?php } ?>><a href="index.php?page=categories">Categories</a></li>
        <li <?php if ($page=="gallery") {  ?> id="current"  <?php } ?>><a href="index.php?page=gallery">Gallery</a></li>
        <li <?php if ($page=="about") {  ?> id="current"  <?php } ?>><a href="index.php?page=about">About</a></li>

    </ul>
</div>